package cn.yunyichina.provider.iface.entity;

/**
* MsgLog扩展
* @Author auto_gen_by_tool
* @CreatedTime 2016-09-23 15:25:34
*/
public class MsgLogExt  extends MsgLog {
	
	public MsgLogExt() {
		
	}
	public MsgLogExt(String toUser,String hospitalId,String appId,String source,String templateId) {
		setOpenId(toUser);
		setHospitalId(hospitalId);
		setAppId(appId);
		setSource(source);
		setMsgCode(templateId);

	}
     public void setPushStatusSuccess() {
         setPushStatus("success");
     }
     
     public void setPushStatusFail() {
         setPushStatus("fail");
     }

     
     public void setPushStatusException() {
         setPushStatus("exception");
     }

}